I had the same problem because of a developer-added script in Build Phases:
TAGS="TODO-DEV:|FIXME:"
ERRORTAG="ERROR:"
find "${SRCROOT}" \( -name "*.h" -or -name "*.m" -or -name "*.swift" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$|($ERRORTAG).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/" | perl -p -e "s/($ERRORTAG)/ error: \$1/"
It's easy to fix:
TAGS="TODO-DEV:|FIXME:"
find "${SRCROOT}" \( -name "*.h" -or -name "*.m" -or -name "*.swift" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/"
Post
Replies
Boosts
Views
Activity
UIViewControllerRepresentable also causes problems with NavigationLink inside. Try to use UIViewRepresentable instead of UIViewControllerRepresentable if you have the same issue.
The problem is that core location must be created in the main thread. Just create the CLLocationManager in the main thread.